package freedom.ms.gate;

import java.util.Map;

import org.springframework.security.jwt.JwtHelper;
import org.springframework.security.jwt.crypto.sign.RsaSigner;
import org.springframework.security.jwt.crypto.sign.Signer;

public class JwtExt {
	
	public static void main(String[] args) {
		String token = null;
		Map<String, String> headers = JwtHelper.headers(token);
		CharSequence content = "";
		String sshkey = null;
		Signer signer = new RsaSigner(sshkey);
		JwtHelper.encode(content , signer, headers);
		
	}

}
